package com.example.wac.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.wac.entity.system.RoleInfo;
import com.example.wac.mapper.RoleInfoMapper;
import com.example.wac.service.RoleInfoService;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * <p>
 * 角色用户表 服务实现类
 * </p>
 *
 * @author wac
 * @since 2022-04-24
 */
@Service
public class RoleInfoServiceImpl extends ServiceImpl<RoleInfoMapper, RoleInfo> implements RoleInfoService {


    @Override
    public Set<String> selectRoleCodeByLoginId(Integer id) {
        return this.baseMapper.selectRoleCodeByLoginId(id);
    }
}
